import Vue from 'vue'
import App from './App'
import store from './store'
import { http } from '@/common/api/service.js' 
import config from '@/common/config/index.js' 
import tools from '@/utils/tools.ts'
import api from '@/common/api/api.js'

Vue.prototype.$store = store
Vue.prototype.$http = http
Vue.prototype.$api = new api()
Vue.prototype.$tools = new tools()
Vue.prototype.$config = config

Vue.config.productionTip = false

App.mpType = 'app'

const app = new Vue({
    ...App
})
app.$mount()
